Summary

Sends a mail containing a list of all fields that are send (posted) using a form except those specified in excluded fields property. Check MailSent property to see if the mail(s) was sent (if you want a customized after-send-action)

Component properties
Category AS Miscellaneous
Version 1.0
Complies with Xhtml 1.0 / 1.1 rules Yes
Supported server programming languages C# Visual Basic.NET
Output content type Unspecified or not applicable

When to use

This component is typically used when you would like offer the possiblility for visitors to send mail messages to a specific address or addresses on a Web page.

Programming interface

Parameters

Mail server
Mail server name or IP adress
Mail settings
From
From. example: info@contentstudio.se
Mail to field
The id of the form field that contains recipient(s) comma separated.
Mail to
Static recipient(s) comma separated. Set either static mailto or field mail to
Subject field
The id of form field containing subject.
Subject
Static Subject. Set either static subject or subject field
Send method
  • To Use To:
  • Cc Use Cc: (copy)
  • Bcc Use Bcc: (secret copy)

    Tip: To send multiple email copys using different send methods insert multi instances of the component.
Send mail as plain text
Send the mail as plain text instead of in html format.
Mail content
Excluded field(s)
From field(s) that will be excluded comma separated. Example: submitbutton, mysectretfield
Text before
Text displayed in the beginning of body before form fields. Example: Read this:<br /><br />
Text after
Text after content. Example: Thank you!
Post action
Redirect field id
Optional. Form field that contains either: document ID for document to redirect to after submit, or an URL.
Text to print on okey
Optional. Text printed after mail has been sent.
Authentication
Username
Smtp server username
Password
Smtp server password

Remarks